const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_realip_module",
    map: {
        set_real_ip_from: [String, , ["http", "server", "location"]],
        real_ip_header: [String, "X-Real-IP", ["http", "server", "location"]],
        real_ip_recursive: [Switch, false, ["http", "server", "location"]]
    }
};